A Probabilistic Study of Bound Consistency for the Alldifferent Constraint

نویسندگان

  • Jérémie Du Boisberranger
  • Danièle Gardy
  • Xavier Lorca
  • Charlotte Truchet
چکیده

This paper introduces a mathematical model for bound consistency of the constraint AllDifferent. It allows us to compute the probability that the filtering algorithm effectively removes at least one value in the variable domains. A complete study of the bound consistency properties is then proposed. It identifies several behaviors depending on some macroscopic quantities related to the variables and the domains. Finally, it is shown that the probability for an AllDifferent constraint to be bound consistent can be asymptotically estimated in constant time. The experiments illustrate that the precision is good enough for a practical use in constraint programming.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

When is it worthwhile to propagate a constraint? A probabilistic analysis of AllDifferent

This article presents new work on analyzing the behaviour of a constraint solver, with a view towards optimization. In Constraint Programming, the propagation mechanism is one of the key tools for solving hard combinatorial problems. It is based on specific algorithms: propagators, that are called a large number of times during the resolution process. But in practice, these algorithms may often...

متن کامل

Faster Algorithms for Bound-Consistency of the Sortedness and the Alldifferent Constraint

We present narrowing algorithms for the sortedness and the alldifferent constraint which achieve bound-consistency. The algorithm for the sortedness constraint takes as input 2n intervals X1, . . . , Xn, Y1, . . . , Yn from a linearly ordered set D. Let S denote the set of all tuples t ∈ X1 × · · · × Xn × Y1 × · · · × Yn such that the last n components of t are obtained by sorting the first n c...

متن کامل

An O(nlog n) Bound Consistency Algorithm for the Conjunction of an alldifferent and an Inequality between a Sum of Variables and a Constant, and its Generalization

This paper gives an O(n log n) bound-consistency filtering algorithm for the conjunction alldifferent(V0, V1, . . . , Vn−1) ∧ f(V0)⊕ f(V1)⊕ · · · ⊕ f(Vn−1) ≤ cst , (V0, V1, . . . , Vn−1, cst ∈ N ), where (N,⊕) is a commutative group, f is a unary function, and both ⊕ and f are monotone increasing. This complexity is equal to the complexity of the bound-consistency algorithm of the alldifferent ...

متن کامل

The AllDifferent Constraint with Precedences

We propose ALLDIFFPREC, a new global constraint that combines together an ALLDIFFERENT constraint with precedence constraints that strictly order given pairs of variables. We identify a number of applications for this global constraint including instruction scheduling and symmetry breaking. We give an efficient propagation algorithm that enforces bounds consistency on this global constraint. We...

متن کامل

Propagating Conjunctions of AllDifferent Constraints

We study propagation algorithms for the conjunction of two ALLDIFFERENT constraints. Solutions of an ALLDIFFERENT constraint can be seen as perfect matchings on the variable/value bipartite graph. Therefore, we investigate the problem of finding simultaneous bipartite matchings. We present an extension of the famous Hall theorem which characterizes when simultaneous bipartite matchings exists. ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011